package com.project.mall.bean.generator;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CskaoyanmallUserFormid {
    private Integer id;

    /**
     * 缓存的FormId
     */
    private String formid;

    /**
     * 是FormId还是prepayId
     */
    private Boolean isprepay;

    /**
     * 可用次数，fromId为1，prepay为3，用1次减1
     */
    private Integer useamount;

    /**
     * 过期时间，腾讯规定为7天
     */
    private Date expireTime;

    /**
     * 微信登录openid
     */
    private String openid;

    /**
     * 创建时间
     */
    private Date addTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 逻辑删除
     */
    private Boolean deleted;
}